package com.longlong.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("wx_remaining_likes")
public class WxRemainingLikes {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String openidGzh;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime lastDay;

    private Integer remainingLikes;

}
